package hcn.protocol.brandnew.zhenliao.yaopin;

import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
import hcn.protocol.brandnew.BaseRequest;


/**
 * 同步药品用法信息 - ODS_03020018_SUC
 *
 * @author enjoyLife
 */
@Data
@XmlRootElement(name = "Data")
@XmlAccessorType(XmlAccessType.FIELD)
public class GetDrugDecoctionResponse {

    /**
     * 煎法记录
     */
    @XmlElementWrapper(name = "DecoctionLists")
    @XmlElement(name = "DecoctionList")
    private List<DecoctionList> decoctionLists;

    @Data
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class DecoctionList {

        /**
         * 草药煎法代码
         */
        @XmlElement(name = "HerbalMedicineDecoction")
        private Integer herbalMedicineDecoction;
        /**
         * 药品煎法名称
         */
        @XmlElement(name = "HerbalMedicineDecoctionName")
        private String herbalMedicineDecoctionName;
        /**
         * 备注信息
         */
        @XmlElement(name = "Remark")
        private String remark;
        /**
         * 拼音码
         */
        @XmlElement(name = "PinYinCode")
        private String pinYinCode;
    }

}
